<?php
if (!defined ('TYPO3_MODE')) {
	die ('Access denied.');
}


Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_modul',
	array(
	'Ausbildungsschema' => 'list, show ',	
	
		'Kursstamm' => 'list, show',
		'Kurs' => 'list, show',
		'Dozent' => 'list, show',
		'Veranstaltung' => 'list, show',
		'Gegenstandskatalog' => 'list, show',
		'Veranstaltungstag' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		'Anmeldung' => 'list, show, new, create, edit, update, delete',
		
		'Teilnehmer' => 'new, edit, update,create',
	),
	array(
		
		'Anmeldung' => 'create, update, delete',
		'Teilnehmer' => 'create',
		
	)
);
Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_Ausbidlung',
	array(
		'Ausbildungsschema' => 'list, show ',
		'Kursstamm' => 'list, show',
		'Kurs' => 'list, show',
		'Dozent' => 'list, show',
		'Veranstaltung' => 'list, show',
		'Veranstaltungstag' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		'Anmeldung' => 'list, show, new, create, edit, update, delete',
		'Teilnehmer' => 'new, edit, update,create',
	),
	array(
		
		'Anmeldung' => 'create, update, delete',
		'Teilnehmer' => 'create',
		
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_kurs',
	array(
		'Kursstamm' => 'list, show',
		'Kurs' => 'list, show',
		'Dozent' => 'list, show',
		'Veranstaltung' => 'list, show',
		'Gegenstandskatalog' => 'list, show',
		'Veranstaltungstag' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		'Anmeldung' => 'list, show, new, create, edit, update, delete',
		'Ausbildungsschema' => 'list, show ',
		'Teilnehmer' => 'new,edit, update, create',
	),
	array(
		
		'Anmeldung' => 'create, update, delete',
		'Teilnehmer' => 'create',
		
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_dozent',
	array(
		'Dozent' => 'list, show',
		
		
	),
	array(
		
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_veranstaltung',
	array(
		'Veranstaltung' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		'Dozent' => 'list, show',
		'Anmeldung' => 'list, show, new, create',
		'Kurs' => 'list, show',
		'Kursstamm' => 'list, show',	
		'Teilnehmer' => 'new,edit, update, create',
	),
	array(
		'Veranstaltung' => 'create, update, delete',
		'Veranstaltungsort' => 'create, update, delete',
		'Anmeldung' => 'create, update, delete',
		'Teilnehmer' => 'create',
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_cal',
	array(
		'Kalender'=>'list,show',
	),
	array(
		
	)
);
Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_ausbildung',
	array(
		'Ausbildungsschema'=>'listwidget',
	),
	array(
		
	)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
	'C_hot',
array(
		'Veranstaltung'=>'showwidgethot',
),
array(

)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
	'C_public',
array(
		'Veranstaltung'=>'showwidgetpublic',
),
array(

)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
	'C_next',
array(
		'Veranstaltung'=>'showwidgetnext',
),
array(

)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_profil',
	array(
		'Anmeldung' => 'list, show, new, create, edit, update, delete',
		'Kursstamm' => 'list, show',
		'Kurs' => 'list, show ',
		'Dozent' => 'list, show',
		'Veranstaltung' => 'list, show ',
		'Gegenstandskatalog' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		
		'Ausbildungsschema' => 'list, show',
		
	),
	array(
		'Anmeldung' => 'create, update, delete',
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_admin',
	array(
		'Veranstaltung' => 'adminlist, adminshow,admindelete,generateAnmeldeliste,sign,dosign, list,show, new, create, edit, update, delete',
		'Thema' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Kursstamm' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Kurs' => ' adminshow, new, newversion,togglestatus,list,show, createnewversion,create, edit, update, delete',
		'Dozent' => 'adminlist, adminshow, new,list,show, create, edit, update, delete',
	
		'Gegenstandskatalog' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Veranstaltungstag' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Veranstaltungsort' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Anmeldung' => ' adminshow,adminnew,list,show, new, admincreate, adminupdate,create,adminedit, edit, update, delete',
		'Ausbildungsschema' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Teilnehmer' => 'adminlist, adminedit, adminshow,adminupdate, new, create, edit, update, delete',
		'Task'=>'sende',
	),
	array(
		'Thema' => 'create, update, delete',
		'Kursstamm' => 'create, update, delete',
		'Kurs' => 'create, update, delete',
		'Dozent' => 'create, update, delete',
		'Veranstaltung' => 'create, update, delete',
		'Gegenstandskatalog' => 'create, update, delete',
		'Veranstaltungstag' => 'create, update, delete',
		'Veranstaltungsort' => 'create, update, delete',
		'Anmeldung' => 'create, update, delete',
		'Ausbildungsschema' => 'create, update, delete',
		
	)
);

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_ifpcurriculum2_scheduler'] = array(
    'extension'        => $_EXTKEY,
    'title'            => 'Email reminder/sender',
    'description'      => 'verschickt vor einer veranstaltung erinnerungsmails und erledigt weitere aufgaben.'
);

?>